using System;
using System.Collections.Generic;

namespace RestNews.Data.Models
{
    public class Category
    {
        public Category()
        {
            this.NewsItemCategories = new List<NewsItemCategory>();
        }

        public int Id { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public virtual ICollection<NewsItemCategory> NewsItemCategories { get; set; }
    }
}
